package com.dream.jump.room

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "OrderType")
class TypeEntity constructor() {
    constructor(
        type: String, typeName: String, desc: String, parentType: String,
        classify: String, operateCode: String
    ) : this() {
        this.type = type
        this.typeName = typeName
        this.desc = desc
        this.parentType = parentType
        this.classify = classify
        this.operateCode = operateCode
    }

    @PrimaryKey
    var type = ""
    var typeName = ""
    var desc = ""
    var parentType = ""
    var classify = ""
    var operateCode = ""
}